#ifndef __OC_NetcdfDimensionData_H__
#define __OC_NetcdfDimensionData_H__

#include "NetCDFDef.h"
#include "OCVolume/VolumeOptions.h"
#include "OCVolume/GridData.h"
#include "OCVolume/GridVariable.h"
#include "NcWrapper.h"

namespace OCPP
{
	using namespace Volume;
	class NetcdfDimensionData
	{
	public:
		NetcdfDimensionData(int index);

		void read(GridVariablePtr variable, String alias,const VolumeOptions& options);
		void read(GridVariablePtr variable, const VolumeOptions& options);
		String getLevelString(int i);

		float minValue = NC_MAX_FLOAT;
		float maxValue = NC_MIN_FLOAT;
		int dimensionIndex;
		size_t size = 0;
		String units;
		FloatVector data;
		GridVariablePtr _variable;
	};
}



#endif